package com.psp.sp.model;

import java.sql.Timestamp;

/**
 * 用户
 */
public class UserBean {

	private String uid;// 用户id
	private String userName; // 姓名
	private String headIcon; // 用户头像
	private String phone; // 电话
	private String password;// 密码
	private String email; // 邮箱
	private String idno; // 身份证
	private Integer gender; // 用户性别，1：男，2：女
	private Integer state; // 1,正常使用，2，邮箱未完成确认

	private String device;// 设备
	private Timestamp createTime;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getHeadIcon() {
		return headIcon;
	}

	public void setHeadIcon(String headIcon) {
		this.headIcon = headIcon;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getIdno() {
		return idno;
	}

	public void setIdno(String idno) {
		this.idno = idno;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDevice() {
		return device;
	}

	public void setDevice(String device) {
		this.device = device;
	}

	@Override
	public String toString() {
		return "UserBean [uid=" + uid + ", userName=" + userName + ", headIcon=" + headIcon + ", phone=" + phone
				+ ", email=" + email + ", idno=" + idno + ", gender=" + gender + ", state=" + state + ", createTime="
				+ createTime + "]";
	}

}
